<?php

namespace app\index\model;

use think\Model;
use think\model\concern\SoftDelete;

class Cate extends Model
{
    //设置软删除
    use SoftDelete;
    protected $deletetime ='delete_time';
    /*
     * cateselect查询所搜数据
     *
     */
    public function cateselect(){
        return Cate::select();
    }
}
